﻿using CQIE.TES.IService;
using System;
using CQIE.TES.Model;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;

namespace CQIE.TES.WEB.ADMIN.Controllers.API
{
    public class StudyYearAPIController : ApiController
    {
        public IStudyYearService StudyYearService { get; set; }
        [HttpGet]
        [Route("api/getstudyyaarsinfo")]
        public object GetStudyYearsInfo()
        {
            List<StudyYear> list = StudyYearService.GetStudyYearsInfo();
            return list;
        }
    }
}
